package com.blog.system.domain.blog;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.blog.common.annotation.Excel;
import com.blog.common.core.domain.BaseEntity;

/**
 * 文章标签对象 blog_tags
 * 
 * @author shibalover
 * @date 2024-04-02
 */
public class BlogTags extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    public BlogTags(String tagsLabel) {
        this.tagsLabel = tagsLabel;
    }

    public BlogTags() {
    }

    /** 文章标签id */
    private Long tagsId;

    /** 文章标签 */
    @Excel(name = "文章标签")
    private String tagsLabel;

    public void setTagsId(Long tagsId) 
    {
        this.tagsId = tagsId;
    }

    public Long getTagsId() 
    {
        return tagsId;
    }
    public void setTagsLabel(String tagsLabel) 
    {
        this.tagsLabel = tagsLabel;
    }

    public String getTagsLabel() 
    {
        return tagsLabel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tagsId", getTagsId())
            .append("tagsLabel", getTagsLabel())
            .toString();
    }
}
